import mongoose from "mongoose";

mongoose.connect("mongodb://localhost:27017/b445react").then(()=>console.log("数据库连接成功")
).catch(err=>{console.log("数据库连接失败");
})